package com.lhkj.ct.meta.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lhkj.ct.base.model.Option;
import com.lhkj.ct.meta.admin.model.entity.TblDictData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 字典数据表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2023-09-07
 */
public interface SysDictDataMapper extends BaseMapper<TblDictData> {

    int countDictDataByType(String dictType);

    List<Option<String>> listOptions(@Param("dictCode") String dictCode);
}
